package com.adderis.soft.service;

import java.util.List;

import com.adderis.soft.domain.model.Methode;

public interface IMethodeBo {

	/**
	 * Persist a Methode entity in the database
	 * 
	 * @param transientMethode
	 */
	public void persist(Methode transientMethode);

	/**
	 * Remove a persisted Methode from the database
	 * 
	 * @param persistentMethode
	 */
	public void remove(Methode persistentMethode);

	public void remove(Integer id);

	/**
	 * Update a Methode in the database
	 * 
	 * @param detachedMethode
	 * @return merged Methode
	 */
	public Methode merge(Methode detachedMethode);

	/**
	 * Find a Methode by id
	 * 
	 * @param id
	 * @return the found Methode
	 */
	public Methode findById(Integer id);

	/**
	 * Find a Methode by id
	 * 
	 * @return the found Methode
	 */
	public List<Methode> findAll();

	/**
	 * Search Methodes
	 * 
	 * @param searchString
	 * @return the found Methodes
	 */
	public List<Methode> search(String searchString);

}

